State Saving Web Tree Menu There is no need to write additional code on a server side to remember what items were expanded/collapsed. Javascript/DHTML Tree can save items state automatically! Set the following parameter: var tsaveState = 1; and the menu remembers its structure for each user who visit your page. Try to expand/collapse items. Then reload the page and you'll see results.
Key features:
- Inactive/Disabled items - Status string shows item labels - Submenus have a fade effect - Filters and Transitional effects - Unlimited number of sub levels - Submenus automatically scrolls - Vertical orientation of the Tree Menu - Personal CSS styles for separate menu elements
Good navigation system is an important part of web site success. If people can't find their way around the site, they will rapidly give up looking and go, never to return. So, it's very significant that your website has a neat, fast, and gratifying to the eye navigation. Don't permit your web site visitors to get lost. Try Javascript/DHTML Tree!
Q: Could I create a function that displays thetab that the user clicked in the left tab menu. These tabs are all within the same window, sothe page will always be the same. Just need a function to make differenttabs appear.
A:Unfortunately Deluxe Tabs doesn't support API functions now.
You can use the following function to open specific tab: dtabs_itemClick(menuInd,itemInd); where menuInd - index of a tab menu on a page, >= 0. itemInd - index of a item, >=0.
For example:
<DIV onClick="dtabs_itemClick(0,2)" style="width: 200px; border: 2px solid #000;">Click to open the third tab</DIV>Q: I have followed the instructions on
But they contain the index of the selected menu item, not the ID.
Q: I am using Javascript Menu. JavaScript Tree Menu. v1.12 How can I upgrade to v.2.0?
A:How to upgrade to v2.00 --------------------------------------------------------------- You can download the licensed engine .js files from the same link in your license message.JavaScript Tree Menu v2.00 has new parameters and features. To upgrade to v2.00 you should do the following.
Step 1. 1.1 For Windows users a. Run Deluxe Tuner v2.0 (can be found in the trial menu package v2.0 http://deluxe-menu.com/deluxe-menu.zip). b. Open menu data file (.js file where menu parameters are placed): select File/OpenŠ c. Save the file: select File/Save, then click "No" button when the dialog box appears.
1.2 For other OS users a. Open menu data file (.js file where menu parameters are placed) in a text editor. b. Make sure that the following variables exist in the data file:
var keystrokes = 0; var dm_focus = 1; var dm_actKey = 113;
var dynamic = 0; var smHideOnClick = 1; var itemAlignTop = 'left'; var smSmartScroll = 1;
var dmAJAX = 0; var dmAJAXCount = 30; var dmRTL = 0; var dmObjectsCheck = 0; var menuBackRepeat = "repeat"; var menuHeight = ""; var transDuration2 = 200;
If one of the variables doesn't exist - add it at the beginning of the file.
c. Save the file.
Step 2. Now open HTML-page that contains JavaScript Tree Menu.
Step 3. Replace existent tags of the menu by the following code:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
Step 4. Save HTML-page.
Step 5. New engine v2.00 has 7 .js files. They are: - dmenu.js - dmenu4.js - dmenu_add.js - dmenu_dyn.js - dmenu_key.js - dmenu_cf.js (new v2.00) - dmenu_popup.js (new v2.00)
Replace all old .js files by the files from v2.00.